package com.smedi.ismedi.authoritymanagement.core.port.adapter.persistence.mybatis.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.smedi.ismedi.authoritymanagement.core.application.query.vo.RolePermissionDetailVo;
import com.smedi.ismedi.authoritymanagement.core.port.adapter.persistence.model.RolePermissionDetailEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RolePermissionDetailMapper extends BaseMapper<RolePermissionDetailEntity> {
    List<RolePermissionDetailVo> selectAllPermissionByPersonId(@Param("rootCode") String rootCode,
                                                               @Param("personId") Long personId);
}
